﻿using System.Collections.Generic;

namespace Splendor_Server.script.logic.data
{
    public static class NobleData
    {
        public static Dictionary<int, NobleInfo> data = new Dictionary<int, NobleInfo>()
        {
            {
                1, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Ruby, 4},
                        {GameData.MineType.Emerald, 4}
                    }
                }
            },
            {
                2, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Sapphire, 4},
                        {GameData.MineType.Emerald, 4}
                    }
                }
            },
            {
                3, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Sapphire, 4},
                        {GameData.MineType.Diamond, 4}
                    }
                }
            },
            {
                4, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Onyx, 4},
                        {GameData.MineType.Diamond, 4}
                    }
                }
            },
            {
                5, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Onyx, 4},
                        {GameData.MineType.Ruby, 4}
                    }
                }
            },
            {
                6, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Onyx, 3},
                        {GameData.MineType.Sapphire, 3},
                        {GameData.MineType.Diamond, 3}
                    }
                }
            },
            {
                7, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Onyx, 3},
                        {GameData.MineType.Ruby, 3},
                        {GameData.MineType.Emerald, 3}
                    }
                }
            },
            {
                8, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Onyx, 3},
                        {GameData.MineType.Ruby, 3},
                        {GameData.MineType.Diamond, 3}
                    }
                }
            },
            {
                9, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Emerald, 3},
                        {GameData.MineType.Sapphire, 3},
                        {GameData.MineType.Ruby, 3}
                    }
                }
            },
            {
                10, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Emerald, 3},
                        {GameData.MineType.Sapphire, 3},
                        {GameData.MineType.Diamond, 3}
                    }
                }
            },
            {
                11, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Ruby, 4},
                        {GameData.MineType.Diamond, 4}
                    }
                }
            },
            {
                12, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Sapphire, 3},
                        {GameData.MineType.Diamond, 3},
                        {GameData.MineType.Ruby, 3}
                    }
                }
            },
            {
                13, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Emerald, 4},
                        {GameData.MineType.Onyx, 4}
                    }
                }
            },
            {
                14, new NobleInfo()
                {
                    point = 3,
                    needBonuses = new Dictionary<GameData.MineType, int>()
                    {
                        {GameData.MineType.Onyx, 3},
                        {GameData.MineType.Ruby, 3},
                        {GameData.MineType.Sapphire, 3}
                    }
                }
            }
        };

        public struct NobleInfo
        {
            public int point;
            public Dictionary<GameData.MineType, int> needBonuses;
        }
    }
}